﻿using System;
using Autodesk.Revit.DB;
using Autodesk.Revit.UI.Selection;

namespace SystemDiagramNew
{
	internal class VerticalElementFilter : ISelectionFilter
	{
		public bool AllowElement(Element elem)
		{
			return VerticalPipeIsoDiagram.IsVertical(elem);
		}

		public bool AllowReference(Reference reference, XYZ position)
		{
			return false;
		}
	}
}
